#!/bin/bash

echo "启动后端服务..."
cd backend
mvn spring-boot:run -DskipTests &

echo "等待后端服务启动..."
sleep 10

echo "启动前端服务..."
cd ../frontend
npm run dev